const apiRoute = require("./routes.js") // 接口路由
const { ax } = require("./lib.js")

function StockFilter(postData) {
  return ax(apiRoute.StockFilter, postData, {
    timeout: 30000,
  })
}

function PartStatusFilter(postData) {
  return ax(apiRoute.PartStatusFilter, postData, {
    timeout: 60000,
  })
}

module.exports = {
  StockFilter,
  PartStatusFilter,
}
